<%@ page language="java" contentType="text/html; charset=UTF-8"
    pageEncoding="UTF-8"%>
<%@taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core" %>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<title>无标题文档</title>
<link href="${pageContext.request.contextPath }/admin/css/style.css" rel="stylesheet" type="text/css" />
</head>

<body>

	<div class="place">
    <span>位置：</span>
    <ul class="placeul">
    <li><a href="#">首页</a></li>
    <li><a href="#">基本信息</a></li>
    </ul>
    </div>
    
    <div class="formbody">
    
    <div class="formtitle"><span>修改管理员信息</span></div>
    <form action="${pageContext.request.contextPath }/ManagerServletUpdate" method="post">
    <ul class="forminfo">
    <input name="id" type="hidden" value="${m.id }" class="dfinput" />
    <li><label>用户名</label><input name="name" type="text" value="${m.name }" class="dfinput" /><i>标题不能超过30个字符</i></li>
    <li><label>密码</label><input name="password" type="password" value="${m.password }" class="dfinput" /><i>多个关键字用,隔开</i></li>
    <li><label>权限</label><cite>
    <c:if test="${m.role==1 }">
    <input name="role" type="radio" value="2"/>普通管理员&nbsp;&nbsp;&nbsp;&nbsp;<input name="role" type="radio" value="1" checked="checked" />超级管理员
    </c:if>
    <c:if test="${m.role==2 }">
    <input name="role" type="radio" value="2" checked="checked"/>普通管理员&nbsp;&nbsp;&nbsp;&nbsp;<input name="role" type="radio" value="1" />超级管理员
    </c:if>
    </cite>
    
    </li>
    <li><label>联系方式</label><input name="tel" type="text" class="dfinput" value="${m.tel }"/></li>
    <li><label>邮箱</label><input name="email" type="text" class="dfinput" value="${m.email }" /></li>
    <li><label>备注</label><textarea name="memo" cols="" rows="" class="textinput">${m.memo }</textarea></li>
    <li><label>&nbsp;</label><input name="" type="submit" class="btn" value="确认保存"/></li>
    </ul>
    </form>
    
    </div>



</body>
</html>
